import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/css/reset.css'
import '@/assets/css/font.css'
import loading from '@/assets/images/loading.webp'
import error from '@/assets/images/error.jpeg'
// 引入插件
import VueLazyload from 'vue-lazyload'
import 'lib-flexible/flexible.js'

Vue.config.productionTip = false
Vue.use(ElementUI)

// 注册插件
Vue.use(VueLazyload,{
  preLoad: 1.2,
	error: error,
	loading: loading,
	attempt: 1
})
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
